from dubboclient import DubboClient
dubboclient = DubboClient("211.103.136.244",6502)


# info = {"id":1000,"name":"杜甫","phoneNumber":"18124241217"}
# info["class"] = "com.itheima.pojo.Member"
# resp = dubboclient.invoke("MemberService","add",info)
# print("打印结果=",resp)
# print("type(resp)=",type(resp))
# #
# resp = dubboclient.invoke("MemberService","findByTelephone","18124241214")
# print("响应结果=",resp)
# print("type(resp)=",type(resp))

moths = "1900.09"
resp = dubboclient.invoke("OrderSettingService", "getOrderSettingByMonth", moths)
# 4. 打印
print("响应结果 =", resp)
print("type(resp) =", type(resp))

